package com.pdsu.alumni.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pdsu.alumni.pojo.MessageRole;
import com.pdsu.alumni.pojo.MessageType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Acerola
 * @since 2021-11-05
 */
@Mapper
@Repository
public interface MessageRoleMapper extends BaseMapper<MessageRole> {

    List<MessageType> getMessageTypeWithRole(String roleId);
}
